package com.cnplan.core;

import com.cnplan.entity.ArcRoll;
import java.util.List;

public class TifStartThread extends Thread{
    private List<ArcRoll> arcRollList;
    public TifStartThread(List<ArcRoll> arcRollList){
        this.arcRollList=arcRollList;
    }
    @Override
    public void run() {
        for (ArcRoll arcRoll:arcRollList) {
            TifImageThread tifImageThread=new TifImageThread(arcRoll.getImageUrl());
            ThreadPoolUtils.getThreadPool().execute(tifImageThread);
        }
    }
}
